+Tue May 14 11:21:19 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkevents-x11.c (gdk_event_translate):
+ Discard configure events from SubstructureNotify.
+ (#81760, Rich Burridge)
+
+ * gtk/gtkfontsel.c (cmp_families): Use g_utf8_strcoll(), not
+ strcmp().
+
+ * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): Clamp
+ width of child allocation to >= 1. (Fixes warnings from
+ #77639, Martin Schulze)
+
2002-05-14 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcontainer.c (gtk_container_class_install_child_property):
+Tue May 14 11:21:19 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkevents-x11.c (gdk_event_translate):
+ Discard configure events from SubstructureNotify.
+ (#81760, Rich Burridge)
+
+ * gtk/gtkfontsel.c (cmp_families): Use g_utf8_strcoll(), not
+ strcmp().
+
+ * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): Clamp
+ width of child allocation to >= 1. (Fixes warnings from
+ #77639, Martin Schulze)
+
2002-05-14 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcontainer.c (gtk_container_class_install_child_property):
+Tue May 14 11:21:19 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkevents-x11.c (gdk_event_translate):
+ Discard configure events from SubstructureNotify.
+ (#81760, Rich Burridge)
+
+ * gtk/gtkfontsel.c (cmp_families): Use g_utf8_strcoll(), not
+ strcmp().
+
+ * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): Clamp
+ width of child allocation to >= 1. (Fixes warnings from
+ #77639, Martin Schulze)
+
2002-05-14 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcontainer.c (gtk_container_class_install_child_property):
+Tue May 14 11:21:19 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkevents-x11.c (gdk_event_translate):
+ Discard configure events from SubstructureNotify.
+ (#81760, Rich Burridge)
+
+ * gtk/gtkfontsel.c (cmp_families): Use g_utf8_strcoll(), not
+ strcmp().
+
+ * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): Clamp
+ width of child allocation to >= 1. (Fixes warnings from
+ #77639, Martin Schulze)
+
2002-05-14 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcontainer.c (gtk_container_class_install_child_property):
+Tue May 14 11:21:19 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkevents-x11.c (gdk_event_translate):
+ Discard configure events from SubstructureNotify.
+ (#81760, Rich Burridge)
+
+ * gtk/gtkfontsel.c (cmp_families): Use g_utf8_strcoll(), not
+ strcmp().
+
+ * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): Clamp
+ width of child allocation to >= 1. (Fixes warnings from
+ #77639, Martin Schulze)
+
2002-05-14 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcontainer.c (gtk_container_class_install_child_property):
+Tue May 14 11:21:19 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkevents-x11.c (gdk_event_translate):
+ Discard configure events from SubstructureNotify.
+ (#81760, Rich Burridge)
+
+ * gtk/gtkfontsel.c (cmp_families): Use g_utf8_strcoll(), not
+ strcmp().
+
+ * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): Clamp
+ width of child allocation to >= 1. (Fixes warnings from
+ #77639, Martin Schulze)
+
2002-05-14 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcontainer.c (gtk_container_class_install_child_property):
? " (discarding)"
: GDK_WINDOW_TYPE (window) == GDK_WINDOW_CHILD
? " (discarding child)"
+ : xevent->xconfigure.event != xevent->xconfigure.window
+ ? " (discarding substructure)"
: ""));
if (window &&
+ xevent->xconfigure.event == xevent->xconfigure.window &&
!GDK_WINDOW_DESTROYED (window) &&
(window_private->extension_events != 0))
_gdk_input_configure_event (&xevent->xconfigure, window);
if (!window ||
+ xevent->xconfigure.event != xevent->xconfigure.window ||
GDK_WINDOW_TYPE (window) == GDK_WINDOW_CHILD ||
GDK_WINDOW_TYPE (window) == GDK_WINDOW_ROOT)
return_val = FALSE;
const char *a_name = pango_font_family_get_name (*(PangoFontFamily **)a);
const char *b_name = pango_font_family_get_name (*(PangoFontFamily **)b);
- return strcmp (a_name, b_name);
+ return g_utf8_collate (a_name, b_name);
}
static void
if (menu_item->submenu && menu_item->show_submenu_indicator)
child_allocation.width -= child_requisition.height;
+ if (child_allocation.width < 1)
+ child_allocation.width = 1;
+
gtk_widget_size_allocate (bin->child, &child_allocation);
}